var app = new Vue({
    el: '#app',
    data() {
        return {
            input1: '',
            input2: '',
            List:[],
        }
    },
    methods:{
        spide(){
            var that = this
            axios({
                url:"http://localhost:8081/test/13",
                method:"post",
                data:{
                    depart:that.input1,
                    arrival:that.input2
                }
            }).then(res=>{
                alert(res);
                this.List = res.data;
                that.List = res.data;
            }).catch(err=>{
                alert(err)
            })
        }
    }
})